package com.itheima.writer;

import java.io.FileWriter;
import java.io.IOException;

public class Demo03 {

    public static void main(String[] args) throws IOException {

        FileWriter writer = new FileWriter("day13\\d.txt",true);
        writer.write("\r\n");
        writer.flush();
        writer.write('魑');
        writer.flush();
        writer.write(new char[]{'魑','魅','魍','魉'});
        writer.flush();
        writer.write(new char[]{'魑','魅','魍','魉'},2,2);
        writer.flush();
        writer.write("吴签签");
        writer.flush();
        writer.write("坤坤我爱你",2,3);
        writer.close();

    }
}
